#if !defined(AFX_DLGMAPSTATUSBAR_H__C6C21E7D_B027_4C39_ABCB_D48069CEC79E__INCLUDED_)
#define AFX_DLGMAPSTATUSBAR_H__C6C21E7D_B027_4C39_ABCB_D48069CEC79E__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgMapStatusBar.h : header file
//
#include "Foldertab.h"
/////////////////////////////////////////////////////////////////////////////
// CDlgMapStatus dialog

class CDlgMapStatus : public CDialog
{
private:
	BOOL           	m_bInit ;
	int             m_nTabWidth;
	CFolderTabCtrl	m_wndFolderTabCtrl;
	int             m_nBtnCount		;
	CTmButton*		m_pBtn[2]		;
	CWzdToolTipCtrl m_tip			;
	CPoint          m_ActMapBtnPt   ;
public:
	void	EnableButton(int nID, BOOL bEnable);
	void 	Redraw();	
	void	RedrawLabel();
	void	DeleteAllLabel();
	void	RelayoutLabel();
	void    DeleteLabel(int nMapID);
	BOOL    SelectLabel(int nMapID);
	void	AddItem(int nMapID,char* szText,bool bRelayout);
	int		GetNextLabel(int nMapID);
	int		GetPrevLabel(int nMapID);
	void	PopActiveMapMenu();
public:
	CDlgMapStatus(CWnd* pParent = NULL);   // standard constructor

	static void  CALLBACK BtnMouseEvent(void* pParentWnd,int nBtnPos,UINT uID, UINT nMouseWork, UINT nFlag,CPoint pt);	

// Dialog Data
	//{{AFX_DATA(CDlgMapStatus)
	enum { IDD = IDD_Dlg_Map_Status };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDlgMapStatus)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo);
 	virtual BOOL OnInitDialog();
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDlgMapStatus)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnDestroy();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DLGMAPSTATUSBAR_H__C6C21E7D_B027_4C39_ABCB_D48069CEC79E__INCLUDED_)
